package day3.HomeWork;

public class StudentImpl extends Student implements IFlyAble,ISingAble{
    public StudentImpl(String name, int age, String id, double score) {
        super(name, age, id, score);
    }

    @Override
    public void fly() {
        System.out.println(getName() + " is flying.");
    }
    @Override
    public void sing() {
        System.out.println(getName() + " is singing.");
    }
}
